package lab03.test01;

import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

/**
 * Created by MECHREV on 2017/11/16.
 */
public class test02 {
    public static void main(String[] args) {
        String path="D:\\dev\\sctu-java-2017-3\\1606101088梁冰\\src\\lab02\\test02\\Circle.java";
        BufferedReader reader=null;
        try {
             reader = new BufferedReader(new FileReader(path));
            String line=null;

            try {
               while ((line =reader.readLine())!=null){
                   System.out.println(line);
               }
            } catch (IOException e) {
                e.printStackTrace();
            }


        } catch (FileNotFoundException e) {
            e.printStackTrace();
        }finally {
            try {
                reader.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
    }
}
